﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using Portal.Model;

namespace Portal.Logic.Providers
{
	/// <summary>
	/// Interface <see cref="IUserProvider"/> declare user provider
	/// </summary>
	public interface IUserProvider
	{
		/// <summary>
		/// Gets user by identity
		/// </summary>
		/// <param name="logon">Logon</param>
		/// <returns>
		/// User
		/// </returns>
		IUser GetUser(string logon);
	}
}
